package com.xbongbong.pro.businessrule.pojo;

import com.xbongbong.paas.domain.entity.PaasFormSubDataEntity;
import com.xbongbong.paas.domain.entity.ext.PaasFormDataEntityExt;
import lombok.Getter;
import lombok.Setter;
import lombok.ToString;

import java.io.Serializable;
import java.util.ArrayList;
import java.util.HashSet;
import java.util.List;
import java.util.Set;

/**
 * @author 吴峰
 * @date 2020/09/29 15:50
 */
@Getter
@Setter
@ToString
public class BusinessRuleDataPojo implements Serializable {
    private static final long serialVersionUID = -6319164990356907423L;

    private List<PaasFormDataEntityExt> formDataList;

    private List<? extends PaasFormSubDataEntity> subFormDataList;

    /**
     * 表单数据id
     */
    private Set<Long> formDataIdList;
    /**
     * 子表单数据id
     */
    private List<Long> subFormDataIdList;

    public BusinessRuleDataPojo() {
        this.formDataList = new ArrayList<>();
        this.subFormDataList = new ArrayList<>();
        this.formDataIdList = new HashSet<>();
        this.subFormDataIdList = new ArrayList<>();
    }
}
